package com.example.config;

import org.springframework.boot.Banner;
import org.springframework.core.env.Environment;
import org.springframework.stereotype.Component;

import java.io.PrintStream;

/**
 * @author Administrator
 */
public class SupMCMSBanner implements Banner {

    private static final String SupMCMSBanner = "" +
            " $$$$$$\\                      $$\\      $$\\  $$$$$$\\  $$\\      $$\\  $$$$$$\\  \n" +
            "$$  __$$\\                     $$$\\    $$$ |$$  __$$\\ $$$\\    $$$ |$$  __$$\\ \n" +
            "$$ /  \\__|$$\\   $$\\  $$$$$$\\  $$$$\\  $$$$ |$$ /  \\__|$$$$\\  $$$$ |$$ /  \\__|\n" +
            "\\$$$$$$\\  $$ |  $$ |$$  __$$\\ $$\\$$\\$$ $$ |$$ |      $$\\$$\\$$ $$ |\\$$$$$$\\  \n" +
            " \\____$$\\ $$ |  $$ |$$ /  $$ |$$ \\$$$  $$ |$$ |      $$ \\$$$  $$ | \\____$$\\ \n" +
            "$$\\   $$ |$$ |  $$ |$$ |  $$ |$$ |\\$  /$$ |$$ |  $$\\ $$ |\\$  /$$ |$$\\   $$ |\n" +
            "\\$$$$$$  |\\$$$$$$  |$$$$$$$  |$$ | \\_/ $$ |\\$$$$$$  |$$ | \\_/ $$ |\\$$$$$$  |\n" +
            " \\______/  \\______/ $$  ____/ \\__|     \\__| \\______/ \\__|     \\__| \\______/ \n" +
            "                    $$ |                                                    \n" +
            "                    $$ |                                                    \n" +
            "                    \\__|                                                    ";

    @Override
    public void printBanner(Environment environment, Class<?> sourceClass, PrintStream out) {
        out.println(SupMCMSBanner);
    }
}
